package charazay.tool.cobjects;

/**
 * Class Match
 */
public class Match extends CharazayObject {

	//
	// Fields
	//

	public long date;
	public Team teamHome;
	public Team teamAway;
	public int scoreTeamHome;
	public int scoreTeamAway;
	
	//
	// Constructors
	//
	public Match () { };
	
	//
	// Methods
	//


	//
	// Accessor methods
	//

	/**
	 * Set the value of date
	 * @param newVar the new value of date
	 */
	public void setDate ( long newVar ) {
		date = newVar;
	}

	/**
	 * Get the value of date
	 * @return the value of date
	 */
	public long getDate ( ) {
		return date;
	}

	/**
	 * Set the value of teamHome
	 * @param newVar the new value of teamHome
	 */
	public void setTeamHome ( Team newVar ) {
		teamHome = newVar;
	}

	/**
	 * Get the value of teamHome
	 * @return the value of teamHome
	 */
	public Team getTeamHome ( ) {
		return teamHome;
	}

	/**
	 * Set the value of teamAway
	 * @param newVar the new value of teamAway
	 */
	public void setTeamAway ( Team newVar ) {
		teamAway = newVar;
	}

	/**
	 * Get the value of teamAway
	 * @return the value of teamAway
	 */
	public Team getTeamAway ( ) {
		return teamAway;
	}

	/**
	 * Set the value of scoreTeamHome
	 * @param newVar the new value of scoreTeamHome
	 */
	public void setScoreTeamHome ( int newVar ) {
		scoreTeamHome = newVar;
	}

	/**
	 * Get the value of scoreTeamHome
	 * @return the value of scoreTeamHome
	 */
	public int getScoreTeamHome ( ) {
		return scoreTeamHome;
	}

	/**
	 * Set the value of scoreTeamAway
	 * @param newVar the new value of scoreTeamAway
	 */
	public void setScoreTeamAway ( int newVar ) {
		scoreTeamAway = newVar;
	}

	/**
	 * Get the value of scoreTeamAway
	 * @return the value of scoreTeamAway
	 */
	public int getScoreTeamAway ( ) {
		return scoreTeamAway;
	}

	//
	// Other methods
	//

}
